package coolcollege;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

public class StringList2Long {

    public static void main(String[] args) {

        List<String> inbound = new ArrayList<>();
        inbound.add("1");
        inbound.add("2");
        inbound.add("3");
        inbound.add("4");
        inbound.add("5");

        List<Long> collect = inbound.parallelStream().map(Long::parseLong).collect(Collectors.toList());
        System.out.println(collect);
    }

}
